<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型之边框</title>
    <style>
        div {
            width: 200px;
            height: 200px;
            background-color: pink;
            
          
            /* 边框粗细 */
            /* border-width: 5px; */
            /* 边框样式  solid 实线 dashed 虚线 dotted 电线*/
            /* border-style: solid; */
            /* border-style: dashed; */
            /* border-style: dotted; */
            /* 边框颜色 */
            /* border-color: red;  */
          

            /* 复合写法 ，简写，没有顺序*/
            /* border: blue solid 2px; */

            /* 边框分开写 */
            border-top: 2px solid red ;
            border-bottom: 5px dotted black;
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>